package org.jeecg.modules.syLoginFail.service.impl;

import org.jeecg.modules.syLoginFail.entity.SyLoginFail;
import org.jeecg.modules.syLoginFail.mapper.SyLoginFailMapper;
import org.jeecg.modules.syLoginFail.service.ISyLoginFailService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: sy_login_fail
 * @Author: jeecg-boot
 * @Date:   2022-08-05
 * @Version: V1.0
 */
@Service
public class SyLoginFailServiceImpl extends ServiceImpl<SyLoginFailMapper, SyLoginFail> implements ISyLoginFailService {

    @Resource
    private SyLoginFailMapper syLoginFailMapper;
    @Override
    public SyLoginFail getByUsername(String username,String ip) {
        return syLoginFailMapper.getByUsername(username,ip);
    }
}
